package com.seecen.cywbackend.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * @TableName t_user
 */
@TableName(value ="t_user")
@Data
public class User implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String username;

    private String password;

    private String avatar;

    private String gender;

    private String nickname;

    private String mobile;

    private String email;

    private Integer role;

    private Date createTime;

    private Date lastUpdateTime;

    private Long lastUpdator;

    @TableLogic
    private Integer isDeleted;

    @Version
    private static final long serialVersionUID = 1L;
}
